<?php
/**
*	cli模式运行可用 php api.php cli,run
*/
class cliClassAction extends apiAction
{
	public $logincheck = false;
	
	
	/**
	*	
	*/
	public function runAction()
	{
		return 'cli mode';
	}
	
	public function testAction()
	{
		$rand = $this->getparams('rand');
		c('cache')->set('pushtest', $rand, 10);
	}
	
	
}